package com.dxy.data.webcloud.common.entity;

/**
 * @CLassName: ZuulRoute
 * @Author: weixin
 * @Description: 服务的路由类，用于动态路由
 * @DATE: 2018/11/12 8:13 PM
 * @from org.springframework.cloud.netflix.zuul.filters.ZuulProperties.ZuulRoute
 * @Version: 1.0
 */
public class ServiceRoute {

    private Long id;

    private String path;

    private String serviceId;

    private String url;

    private boolean stripPrefix = true;

    private Boolean retryable;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public boolean isStripPrefix() {
        return stripPrefix;
    }

    public void setStripPrefix(boolean stripPrefix) {
        this.stripPrefix = stripPrefix;
    }

    public Boolean getRetryable() {
        return retryable;
    }

    public void setRetryable(Boolean retryable) {
        this.retryable = retryable;
    }
}
